Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SetIsclAuthenticationData(Byte[],Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomNet Class > SetIsclAuthenticationData Method : SetIsclAuthenticationData(Byte[],Int32) Method




buffer
Buffer that holds the authentication data.
length
The length of the authentication data, in bytes. The method will fail if this is not in the range 1 to 128.
Sets the authentication data used during the mutual authentication process.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SetIsclAuthenticationData( _
   ByVal buffer() As Byte, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomNet
Dim buffer() As Byte
Dim length As Integer
 
instance.SetIsclAuthenticationData(buffer, length)
C# 
public void SetIsclAuthenticationData( 
   byte[] buffer,
   int length
)
Managed Extensions for C++ 
public: void SetIsclAuthenticationData( 
   byte[] buffer,
   int length
) 
C++/CLI 
public:
void SetIsclAuthenticationData( 
   array<byte> buffer,
   int length
) 

Parameters

buffer
Buffer that holds the authentication data.
length
The length of the authentication data, in bytes. The method will fail if this is not in the range 1 to 128.

Example

For an example, refer to SetIsclMutualAuthenticationAlgorithm.

Remarks

Every ISCL-compliant entity must have between 1 and 128 bytes of authentication data. This authentication data is exchanged between the client and the server during the mutual authentication process. This method sets an array of 1 to 128 bytes that contains the authentication data.

The authentication data is data exchanged in plain text. After the mutual authentication process, the communication entities can verify the authentication data of the other entity (client or server) and, if the authentication data is wrong, can close the connection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features